package org.tinycloud.tinyjob.client.constant;


/**
 * <p>
 *  执行节点类型枚举类
 * </p>
 *
 * @author liuxingyu01
 * @since 2025-10-07 15:47:38
 */
public enum HostTypeEnum {
    AUTO("0", "自动注册"),
    MANUAL("1", "手动添加");

    private final String code;
    private final String desc;

    HostTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }


    public String getCode() {
        return code;
    }

}
